package com.baizhi.cmfz.dao;


import com.baizhi.cmfz.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleDao {
    //分页展示
    List<Article> selectArticle(@Param("offset") int offset, @Param("limit") int limit);
    //查询所有条数
    int selectArticleCount();

    List<Article> selectNewArticle(int count);
}
